﻿using ERP.QualityAssurance.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.QualityAssurance
{
    public interface ITestitemsettingService : IApplicationService
    {
        /// <summary>
        /// 新增检测项设置
        /// </summary>
        Task<TestitemsettingDto> CreateAsync(CreateTestitemsettingDto input);

        /// <summary>
        /// 修改检测项设置
        /// </summary>
        Task<TestitemsettingDto> UpdateAsync(int id, UpdateTestitemsettingDto input);

        /// <summary>
        /// 删除检测项设置
        /// </summary>
        Task DeleteAsync(int id);

        /// <summary>
        /// 批量删除检测项设置
        /// </summary>
        Task BatchDeleteAsync(List<int> ids);

        /// <summary>
        /// 导出检测项设置
        /// </summary>
        Task<byte[]> ExportAsync();
    }
}
